import React from 'react'
// import ReactDOM from 'react-dom'; //reactv17或v16引入ReactDOM的写法
import ReactDOM from 'react-dom/client' //reactv18引入ReactDOM的写法

// 引入根组件
import App from './App'

const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(<App></App>)
